package com.ankicoo.common.model;

import lombok.Data;

import java.util.List;
import java.util.Map;

/**
 * Description: 分页信息
 *
 * @author : QCYANG
 * @date : 2021/8/3 16:20
 */
public class PaginationData<T> {
    /** 分页信息*/
    private Pagination pagination;
    /** 数据*/
    private List<T> dataList;

    public PaginationData() {
    }

    public PaginationData(Pagination pagination, List<T> dataList) {
        this.pagination = pagination;
        this.dataList = dataList;
    }

    public Pagination getPagination() {
        return pagination;
    }

    public void setPagination(Pagination pagination) {
        this.pagination = pagination;
    }

    public List<T> getDataList() {
        return dataList;
    }

    public void setDataList(List<T> dataList) {
        this.dataList = dataList;
    }
}
